var Report = {

    selected_row_id: null,
    objGrid: null,

    init: function () {
        var self = this;

       /* $(".print-list").click(function () {
            self.print_export_Details('export');
        });*/
        $(".print-list").click(function () {
            self.print_export_Details('print',$(this).attr('data-id'));
        });
    },

    print_export_Details: function(data_type,status){
        $("#print-export-form #data_type").val(data_type);
        $("#print-export-form #data_customer").val($("#form-query #customer").val());
        $("#print-export-form #data_month").val($("#form-query #month").val());
        $("#print-export-form #data_year").val($("#form-query #year").val());
        $("#print-export-form #data_day").val($("#form-query #day").val());
        $("#print-export-form #data_status").val(status);
        window.open('', "PrintExportWindow", "menubar=yes, width=600, height=500,location=no,status=no,scrollbars=yes,resizable=yes");
        $("#print-export-form").submit();
    }
};

/* when the page is loaded */
$(document).ready(function () {
    Report.init();
});